package sellComputer;

public class AsusMB extends MainBoard{
	private String name = "asus1";
	private int speed = 2;
	private int price = 1000;
	
	public AsusMB(String name,int speed,int price) {
		this.name = name;
		this.speed = speed;
		this.price = price;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}


	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public int getPrice() {
		return price;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	
	@Override
	public void work(){
		System.out.println("Asus mainboard work");
	}


}
